package xyz.changlu;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName LoginController
 * @Author ChangLu
 * @Date 2021/5/21 15:32
 * @Description TODO
 */
@Controller
@RequestMapping("/login")
public class LoginController {

    @RequestMapping("/hello")
    public String sayHello(){
        return "hello";
    }

    @RequestMapping("/hello1")
    public String sayIndex(){
        return "index";
    }

}